<?php
return array(
	'defaultController' => 'Index',
	'defaultAction' => 'index',
	'debug' => true,
	'errorReporting' => -1,
	'timeZone' => 'PRC',
    'charset' => 'utf-8', //页面编码
    'configext' => '',
	'db' => array(
        'host' => 'localhost',
        'dbname' => 'scrollphp',
        'port' => 3306,
		'user' => 'root',
		'pwd' => '',
		'driver' => 'mysql',
        'prefix' => '',
	),
    //缓存信息
    'cache' => array(
        //视图缓存是否开启
        'viewCacheOn' => false,
        //缓存存放路径,所有的缓存信息都存放在这个位置
        'path' => '/Cache',

    ),
    'upload' => array(
        'ext'  => 'jpg,gif,png,rar,zip,7z',
        //上传文件路径
        'path' => '/Uploads',
    ),
    'view' => array(
        'tplrefresh' => 1000,
        'timestamp'=> 1000,
        'suffix' => 'html',
    ),

    'url' => array(
        'rewrite' => false
    ),

    'APP_FILE_CASE' => '',

    'setting' => array(
        'static' => 'static',
        'jspath' => 'static/js',
        'csspath' => 'static/css',
        'imagepath' => 'static/images'
    ),
);